import React, { useState, useEffect } from 'react';
import "./input.less"

import Search from '../../components/search/Search';
export default function(props){

  let setArr = ['1', '2', '3', '4']

    const onSearch = (data) => {
        console.log("父组件", data)
        // 返回数据
    }

  return (
    <div>
        <Search onSearch={onSearch} value={setArr} />
    </div>
  )
}